package cn.edu.njust.epms.entity;

import java.util.Date;

public class ATRecord {
    Integer aId;
    Integer uId;
    Date aTime;
    Integer aResult;
    String pid;

    @Override
    public String toString() {
        return "ATRecord{" +
                "aId=" + aId +
                ", uId=" + uId +
                ", aTime=" + aTime +
                ", aResult=" + aResult +
                ", pid='" + pid + '\'' +
                ", ud=" + ud +
                '}';
    }

    UserDetails ud;

    public UserDetails getUd() {
        return ud;
    }

    public void setUd(UserDetails ud) {
        this.ud = ud;
    }



    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public Integer getaId() {
        return aId;
    }

    public void setaId(Integer aId) {
        this.aId = aId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Date getaTime() {
        return aTime;
    }

    public void setaTime(Date aTime) {
        this.aTime = aTime;
    }

    public Integer getaResult() {
        return aResult;
    }

    public void setaResult(Integer aResult) {
        this.aResult = aResult;
    }

    public ATRecord(Integer aId, Integer uId, Date aTime, Integer aResult) {
        this.aId = aId;
        this.uId = uId;
        this.aTime = aTime;
        this.aResult = aResult;
    }

    public ATRecord() {
    }
}
